<?php
/**
 * Created by PhpStorm.
 * User: WangShiPeng
 * Date: 2018/4/18
 * Time: 11:16
 */

namespace app\index\model;


use think\Model;

class Product extends Model
{
    public function getImagePathAttr($value)
    {
        return "http://localhost/thinkphp/wechat/wxapi/public/upload/".$value;
    }

}